package com.example.bigyu.test02;

import android.graphics.Color;

/**
 * Created by bigyu on 2016/9/13.
 */
public class TimeTxt {

    private String timeTxt;

    private float startX;
    private float startY;

    private int color = Color.BLACK;

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }


    public TimeTxt(String timeTxt, float startX, float startY, int color) {
        this.timeTxt = timeTxt;
        this.startX = startX;
        this.startY = startY;
        this.color = color;
    }

    private float endX;
    private float endY;

    public TimeTxt() {
    }

    public TimeTxt(String timeTxt) {
        this.timeTxt = timeTxt;
    }

    public TimeTxt(String timeTxt, float startX, float startY) {
        this.timeTxt = timeTxt;
        this.startX = startX;
        this.startY = startY;
    }

    @Override
    public String toString() {
        return "TimeTxt{" +
                "timeTxt='" + timeTxt + '\'' +
                ", startX=" + startX +
                ", startY=" + startY +
                ", endX=" + endX +
                ", endY=" + endY +
                '}';
    }

    public String getTimeTxt() {
        return timeTxt;
    }

    public void setTimeTxt(String timeTxt) {
        this.timeTxt = timeTxt;
    }

    public float getStartX() {
        return startX;
    }

    public void setStartX(float startX) {
        this.startX = startX;
    }

    public float getStartY() {
        return startY;
    }

    public void setStartY(float startY) {
        this.startY = startY;
    }

    public float getEndX() {
        return endX;
    }

    public void setEndX(float endX) {
        this.endX = endX;
    }

    public float getEndY() {
        return endY;
    }

    public void setEndY(float endY) {
        this.endY = endY;
    }

    public TimeTxt(String timeTxt, float startX, float startY, float endX, float endY) {

        this.timeTxt = timeTxt;
        this.startX = startX;
        this.startY = startY;
        this.endX = endX;
        this.endY = endY;
    }
}
